package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.Date;

@Entity
@Getter
@Setter
@Accessors(chain = true)
@Table(name = "CM_WK_FOMATIONPRESSURE")
// 对应 固井地层压力表 CM_WK_FORMATIONPRESSURE
public class CM_WK_FormationPressure extends BABaseEntity {

    @Id
    @GenericGenerator(name="cmWkFormationPressureGenerator", strategy="uuid")
    @GeneratedValue(generator="cmWkFormationPressureGenerator")
    @Column(name = "CM_WK_FOMATIONPRESSURE_ID")
    private String CM_WK_FOMATIONPRESSURE_ID;

    @Basic
    @Column(name = "CASINGSIZE")
    private String casingSize;

    @Basic
    @Column(name = "LAYERMAXPRESSURE")
    private Double layerMaxPressure;

    @Basic
    @Column(name = "OILLAYERPRESSURE")
    private Double oilLayerPressure;

    @Basic
    @Column(name = "BOTTOMPRESSURE")
    private Double bottomPressure;

    @Basic
    @Column(name = "LAYERMAXFRACTUREPRESSURE")
    private Double layerMaxFracturePressure;

    @Basic
    @Column(name = "OILLAYERFRACTUREPRESSURE")
    private Double oilLayerFracturePressure;


    @Basic
    @Column(name = "BOTTOMFRACTUREPRESSURE")
    private Double bottomFracturePressure;

    @Basic
    @Column(name = "LAYERMINLOSTPRESSURE")
    private Double layerMinLostPressure;

    @Basic
    @Column(name = "OILLAYERLOSTPRESSURE")
    private Double oilLayerLostPressure;

    @Basic
    @Column(name = "BOTTOMLOSTPRESSURE")
    private Double bottomLostPressure;

}
